#ifndef ADDUSERDIALOG_H
#define ADDUSERDIALOG_H

#include <QDialog>

namespace Ui {
class addUserDialog;
}

class addUserDialog : public QDialog
{
    Q_OBJECT

public:
    explicit addUserDialog(QWidget *parent = nullptr);
    ~addUserDialog();
   QString getPassword();
    QString getUserName();
    int getUserType();
    void setTitle(QString title);
    void setData(QString val1,QString val2,int type);
private slots:
    void on_pb_add_clicked();

    void on_pb_close_clicked();

private:
    Ui::addUserDialog *ui;
    QString password;
    QString UserName;
    int userType;
};

#endif // ADDUSERDIALOG_H
